package org.bluesky.framework.constants;

public class SystemConstants {
    /**
     * 文章为草稿的状态
     */
    public static final int ARTICLE_STATUS_DRAFT = 1;
    /**
     * 文章状态为正式
     */
    public static final int ARTICLE_STATUS_NORMAL = 0;

    /**
     * 热门文章每页数量
     */
    public static final int HOT_ARTICLE_NUMBER = 10;

    /**
     * 热门文章当前页数
     */
    public static final int HOT_CURRENT_PAGE = 1;

    /**
     * 分类category正常的状态
     */
    public static final String CATEGORY_STATUS_NORMAL = "0";

    /**
     * 友链审核通过状态
     */
    public static final String LINK_STATUS_NORMAL = "0";

    /**
     * 评论为根评论的状态
     */
    public static final int IS_ROOT_COMMENT = -1;

    /**
     * 评论类型为文章评论
     */
    public static final String ARTICLE_COMMENT = "0";
    /**
     * 评论类型为友链评论
     */
    public static final String LINK_COMMENT = "1";

    /**
     * redis中文章浏览量的key
     */
    public static final String REDIS_VIEW_COUNT_KEY = "article:viewCount";

    /**
     * 菜单
     */
    public static final String MENU = "C";
    /**
     * 按钮
     */
    public static final String BUTTON = "F";
    public static final String STATUS_NORMAL = "0";
    /**
     * 删除标志
     */
    public static final int DEL_FLAG = 1;
    /**
     * 用户类型
     */
    public static final String USER_NORMAL = "0";
    public static final String USER_ADMIN = "1";

    public static final Long MENU_ROOT = 0L;
}
